package com.ktjiaoyu.ktmall.dao;

import com.ktjiaoyu.ktmall.entity.Product;

import java.util.List;

public interface ProductDao {
    public List<Product> findList(String title, Long categoryId, int page, int pageSize);
    public int count(String title,Long categoryId);
    Product findById(Long id);
    public int insert(Product product);
    public int update(Product product);
    int delete(Long id);
    int updateStatus(Long id,Integer status);

}
